// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.nnee.p_pr.p_a;

import android.content.Context;
import android.content.pm.*;
import android.content.pm.PackageManager.NameNotFoundException;

public class cls_q
{

    public cls_q()
    {
    }

    public static int a()
    {
        int j1 = Integer.valueOf(android.os.Build.VERSION.SDK).intValue();
        int i1 = j1;

        return i1;

    }

    public static String a(Context context)
    {
        String s = "?";
        try
        {
            s = context.getPackageManager().getPackageInfo(context.getPackageName(), 0).versionName;
        }
        catch(android.content.pm.PackageManager.NameNotFoundException namenotfoundexception)
        {
            namenotfoundexception.printStackTrace();
        }
        return s;
    }

    public static String b()
    {
        return android.os.Build.VERSION.RELEASE;
    }

    public static String b(Context context)
    {
        String s = "?";
        String s1=null;
		try {
			s1 = context.getString(context.getPackageManager().getPackageInfo(context.getPackageName(), 0).applicationInfo.labelRes);
		} catch (NameNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
        s = s1;
 
        return s;
         
    }

    public static String c()
    {
    	String s = null;
        switch(a())
        {
        case 6:
        	s = "2.0Later";
        	break;        	 
        	default:
        		  s = b();
        		break;
        	
        }
        
        return s;

    }

    public static boolean d()
    {
        boolean flag;
        if(a() < 8)
            flag = true;
        else
            flag = false;
        return flag;
    }

    public static final int a = 1;
    public static final int b = 2;
    public static final int c = 3;
    public static final int d = 4;
    public static final int e = 5;
    public static final int f = 6;
    public static final int g = 7;
    public static final int h = 8;
    public static final int i = 9;
    public static final int j = 10;
    public static final int k = 11;
    public static final int l = 12;
    public static final int m = 13;
    public static final int n = 14;
    public static final int o = 15;
}
